﻿#region Header
// ------------------------ Licence / Copyright ------------------------
// 
// ScrumTable for Scrum Meeting Support
// Copyright © HSR - Hochschule für Technik Rapperswil
// All Rights Reserved
// 
// Author:
//  Michael Gfeller Silvan Gehrig Patrick Boos
// 
// ---------------------------------------------------------------------
#endregion

#region Usings



#endregion

namespace ScrumTable.UI.ViewModel.Controller
{

    /// <summary>
    /// Possible targets for navigation
    /// </summary>
    public enum NavigationTarget
    {
        /// <summary>
        /// default value. Programm determinate the target
        /// </summary>
        Null = 0,
        /// <summary>
        /// RegisterView target
        /// </summary>
        RegisterView,
        /// <summary>
        /// RegisterView target
        /// </summary>
        RegisterViewNoWizard,
        /// <summary>
        /// TeamMemberSettings target
        /// </summary>
        TeamMemberSettings,
        /// <summary>
        /// TeamMemberSettings target
        /// </summary>
        TeamMemberSettingsNoWizard,
        /// <summary>
        /// Start View target
        /// </summary>
        StartView,
        /// <summary>
        /// ScrumMap 
        /// </summary>
        ScrumMap,
        /// <summary>
        /// Project Planning
        /// </summary>
        ProjectConfig,
        /// <summary>
        /// Project Planning
        /// </summary>
        ProjectConfigNoWizard,
        /// <summary>
        /// Setting Config 
        /// </summary>
        SettingConfig,
        /// <summary>
        /// Setting Config 
        /// </summary>
        SettingConfigNoWizard,
        /// <summary>
        /// Project Planning
        /// </summary>
        ProjectPlanningUserStories,
        /// <summary>
        /// Scrum Poker
        /// </summary>
        ProjectPlanningScrumPoker,
        /// <summary>
        /// Project Planning - Iteration Planning
        /// </summary>
        ProjectPlanningIterations,
        /// <summary>
        /// Sprint Planing
        /// </summary>
        SprintPlanningTask,
        /// <summary>
        /// Daily Scrum - IndividualReport
        /// </summary>
        DailyScrumIndividualReport,
        /// <summary>
        /// Daily Scrum- Task Board
        /// </summary>
        DailyScrumTaskBoard,
        /// <summary>
        /// Daily Scrum- Story Board 
        /// </summary>
        DailyScrumStoryBoard,
        /// <summary>
        /// Daily Scrum Board
        /// </summary>
        DailyScrumBoard
        
    }


    public static class NavigationTargetUtil
    {
        public static bool IsWizardTarget(this NavigationTarget target)
        {
            return !target.ToString().Contains("NoWizard");
        }
    }
}
